package com.aispeech.asr.apis.ssc.data.form;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.ToString;

@ToString
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SscForm {
    private String productId;
    private String requestId;
    private Audio audio;
    private Option option;
    private long length;
    private long duration;
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    private boolean debug = false;

    public SscForm() {
        audio = new Audio();
        option = new Option();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Audio getAudio() {
        return audio;
    }

    public void setAudio(Audio audio) {
        this.audio = audio;
    }

    public Option getOption() {
        return option;
    }

    public void setOption(Option option) {
        this.option = option;
    }

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }
}
